{% extends "Cars/sidebar.html" %}
{%  block content %}
    <script>
        $(function() {
            $( "#id_orgDate" ).datepicker();
        });
    </script>
    <script>
        $(function() {
            $( "#id_expDate" ).datepicker();
        });
    </script>
    <form action="../postDoc/" method="post" enctype=multipart/form-data>
        {% csrf_token %}
        <table class="table table-hover table-condensed table-striped">
`
            <tr>
                <th> Car </th>

            </tr>
            <tr>
                <td>

                    {{ org }}
                </td>
            </tr>
            <tr>

                <th> Document Name </th>

            </tr>
            <tr>
                <td>{{ doc.name }}</td>
            </tr>
            <tr>
                <th> Document Path </th>
            </tr>
            <tr>
                <td>{{ doc.document }}</td>
            </tr>
            <tr>
                <th> Desc </th>
            </tr>
            <tr>
                <td>{{ doc.details }}</td>
            </tr>
            <tr>
                <th> Start Date</th>
                <th> End Date</th>
            </tr>
            <tr>
                <td>{{ doc.orgDate }}</td>
                <td>{{ doc.expDate }}</td>
            </tr>
            <tr>
                <th> Start Day</th>
                <th> Start Month</th>
                <th> Start Year</th>
            </tr>
            <tr>
                <td>{{ doc.arabic_org_day }}</td>
                <td>{{ doc.arabic_org_month }}</td>
                <td>{{ doc.arabic_org_year }}</td>
            </tr>

            <tr>
                <th> Hijri Exp. Day</th>
                <th> Hijri Exp. Month</th>
                <th> Hijri Exp. Year</th>
            </tr>
            <tr>
                <td>{{ doc.arabic_exp_day }}</td>
                <td>{{ doc.arabic_exp_month }}</td>
                <td>{{ doc.arabic_exp_year }}</td>
            </tr>
            <tr>
                <th>Archive</th>

            </tr>
            <tr>
                <td>
                {{ doc.archive }}
                </td>
            </tr>


        </table>
        <div class="span4 offset10">
            <input type="submit" value="Submit" />
        </div>
    </form>

{% endblock %}